package org.ricks.ioc;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2020/8/2411:54
 */
public class Message<K,T> {
    K cmd;
    T data;

    public Message(K cmd, T data) {
        this.cmd = cmd;
        this.data = data;
    }

    public K getCmd() {
        return cmd;
    }

    public void setCmd(K cmd) {
        this.cmd = cmd;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
